﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace AutoShutdownDotNet
{
    public partial class MessageForm : Form
    {

        public string Title
        {
            set { Text = value; }
        }

        public string Message
        {
            set { txtMessage.Text = value; }
        }

        public MessageForm()
        {
            InitializeComponent();
        }

        public MessageForm(string title, string message)
        {
            InitializeComponent();
            Title = title;
            Message = message;
        }
    }
}
